<!DOCTYPE html>
<html lang="cs">
  <head>
    <title>BITWA Petr Panoška</title>
    <meta charset="utf-8">
    <meta name="description" content="">
    <style>
      body
      {
        background: #3F8FD2;
        font-family: Georgia, "Times New Roman", Times, serif;
        color: #053D6B;
      }
		  div#menu a
      {
        margin: 20px;
        text-decoration: none; 
        color: #FFFFFF;
      }
      div#menu a:hover
      {
        text-decoration:underline;
      }
	  </style>
  </head>
  <body>
    <div id=header style="width: 800px; position: relative; margin: 20px auto 20px auto">
      <img src="logo_header.png" alt="logo">
    </div> 
    <div id=menu style="width: 800px; position: relative; margin: 0px auto; text-align: center" >
      <a href="index.html">Home</a>
      <a href="ukol1.html">Úkol</a>
      <a target=_blank href="http://webzam.fbmi.cvut.cz/vitecsla/bitwa/pages/html">Stránky cvičení</a>
      <a target=_blank href="https://predmety.fbmi.cvut.cz/cs/17BITWA">Stránky předmětu</a>
      <a target=_blank href="http://www.fbmi.cvut.cz">FBMI</a>
      <a target=_blank href="http://databaze.fbmi.cvut.cz/panospet/class.viewer.php?form_id=1">Medicus 2.0</a>
      
    </div> 
    <div id=telo style="width: 800px; text-align: center; position: relative; margin: 0px auto">
      <p><span id="cas"></span>
    	<script>
        function naplnCas ()
        { 
          var datum = new Date();
          minuty = datum.getMinutes(); 
          sekundy = datum.getSeconds();
        	
          if( minuty < 10 && sekundy < 10)
          {
            aktualniCas = datum.getHours() + ":0" + minuty + ":0" + sekundy;
          }
          else if( minuty < 10 && sekundy > 10)
          {
            aktualniCas = datum.getHours() + ":0" + minuty + ":" + sekundy;
          }
          else if( minuty > 10 && sekundy < 10)
          {
            aktualniCas = datum.getHours() + ":" + minuty + ":0" + sekundy;
          }
          else
          {
            aktualniCas = datum.getHours() + ":" + datum.getMinutes() + ":" + datum.getSeconds();
          }
        	window.document.getElementById("cas").innerHTML = aktualniCas;
        }
        naplnCas();
        window.setInterval("naplnCas()", 1000);
        </script>
      </p>
      <img src="earth.jpg" width="800" alt="logo">
    </div>
    <div id=paticka style="width: 800px; text-align: center; position: relative; margin: 0px auto">
      <p>&not;&copy;&sup2; Petr Panoška</p>
    </div>         
  </body>
</html>